-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix parse_xml type for tmpl #590
Conversation
To add some context, this happens because |
I have the same issue after upgrading Ansible up to 8.5.0 |
SUMMARY
Change the parse_xml argument validation to require a type
str
instead of a typestring
fortmpl
.ISSUE TYPE
COMPONENT NAME
parse_xml
ADDITIONAL INFORMATION
Any simple call to parse_xml would render a flavour of the following error message:
fatal: [localhost]: FAILED! => {"msg": "[\"argument 'tmpl' is of type <class 'ansible.utils.native_jinja.NativeJinjaText'> and we were unable to convert to string: 'NoneType' object is not callable\"]"}